<?php
namespace App\Models;
use App\VModels\VVip;

/**
 * 系统公告对象
 */
class MVip_up_log extends BaseModel
{
    public $table = "vip_up_log";

    //表关系区===========================================================================
    public  static  function vip_up_log($uid,$pre_vip,$new_vip,$method)
    {
        $vip_up_log = new MVip_up_log();
        $vip_up_log->uid = $uid;
        $vip_up_log->pre_vip = $pre_vip;
        $vip_up_log->new_vip = $new_vip;
        $vip_up_log->method = $method;
        $vip_up_log->time = time();
        return $vip_up_log->save();
    }

}